<template>
  <div>
    <div>
      <ele-page
        v-loading="loading"
        :formConfig="searchDialog"
        ref="eleTable"
        :operateList="operateList"
        :column="column"
        :getList="deliveryTimeObtain"
        uniqueId="mesTeamTable"
      >
      </ele-page>
    </div>
    <!-- 此组件放到与抽屉平级，理论上不需要修改 -->
  </div>
</template>

<script>
import {
  searchConfig,
  operateList,
} from './config'
const { adminUrl } = url();


import url from "@/axios/url";
import {deliveryTimeObtain} from "@/api/reportForms/reportForms";

export default {
  name: 'deliveryTime',
  mixins: [ searchConfig],
  data() {
    const self = this
    return {
      fileList: [],
      fileListOrg: [],
      isHaveCj:true,
      adminUrl: adminUrl,
      operateList,
      visible: false,
      isLoading: false,
      loading: false,
      imgUrlList:[],
      mainImgUrl:'',
      subImgUrl:'',
      dataId:'',
      subType:0,
      detailData: {},
      subId: '',
      dialogVisible: false,
      subPicViewdialogVisible: false,
      mainPicUpdateDialogVisible: false,
      subPicUpdateDialogVisible: false,
      deliveryTimeObtain,
      // 列表页字段的绑定配置
      column: [
        {
          type: 'index',
          label: $i18n.t('common.order'),
          width: 60,
          fixed: 'left'
        },
        {
          prop: "modelName",
          label: '车型',
          showOverflowTooltip: true,
        },
        {
          prop: 'vinCode',
          label: 'VIN编码',
          showOverflowTooltip: true
        },
        {
          prop: 'uwbCode',
          label: 'UWB编码',
          showOverflowTooltip: true
        },
        // {
        //   prop: 'orderState',
        //   label: '车辆状态',
        //   showOverflowTooltip: true,
        // },
        {
          prop: 'receiveCarTime',
          label: '接车时间',
          showOverflowTooltip: true,
        },
        {
          prop: 'departureTime',
          label: '离场时间',
        },
        {
          prop: 'hours',
          label: '总耗时',
        },
        {
          prop: 'quoteConfirmProfit',
          label: '净利润',
        },
        {
          prop: 'quoteConfirmTotal',
          label: '总收入',
        },
        {
          prop: 'quoteConfirmItems',
          label: '物料费用',
        }
      ],
      form:{}
    }
  },
  computed: {},
  methods: {

  }
}
</script>
<style lang="scss" scoped>
.el-row {
  margin-top: 20px;
}
.el-row.last-child {
  margin-bottom: 0;
}
.bg-purple-light {
  background: #e5e9f2;
}
.grid-content {
  display: flex;
  justify-content: center;
  min-height: 25px;
}

//:deep(.ele-form-search){
//  height: 100px !important;
//}
</style>
<style>
.avatar-uploader .el-upload {
  border: 1px dashed #d9d9d9;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.avatar-uploader .el-upload:hover {
  border-color: #409EFF;
}
.avatar-uploader-icon {
  font-size: 28px;
  color: #8c939d;
  min-width: 178px;
  min-height: 178px;
  line-height: 178px;
  text-align: center;
}
.avatar {
  min-width: 178px;
  min-height: 178px;
  display: block;
}
input:disabled{
  opacity: 1;
  -webkit-text-fill-color: black;
}
</style>
